
using System;
using System.Runtime.InteropServices;

namespace Bioscrypt
{
    [StructLayout(LayoutKind.Sequential)]
    public struct RawImageStruct
    {
        /// <summary>
        /// Number of X pixels.
        /// </summary>
        public int X;

        /// <summary>
        /// Number of Y pixels.
        /// </summary>
        public int Y;

        /// <summary>
        /// Number of bits in each pixel (currently 8)
        /// </summary>
        public int Bits;

        /// <summary>
        /// Pointer to a byte array of X pixels by Y pixels.
        /// </summary>
        public IntPtr Image;
    }
}
